#include <stdio.h>

int main(void)
{
	int i, j;
	double sum, s[5][3] =	{{82.5, 90, 78.5},
										{75, 88, 92.5},
										{95, 65.5, 70},
										{81, 72.5, 86.5},
										{89, 98, 66}};
	
	for (i = 0; i < 5; i++)
	{
		sum = 0;
		for (j = 0; j < 3; j++)
			sum += s[i][j];
		printf("avg%d = %.1f\n", i + 1, sum / 3);
	}

	return 0;
}